package com.dsj.gxrd.modules.book.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dsj.gxrd.common.MySelfEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author songpin566
 * @date 2023/09/14
 **/
@Data
@ApiModel(description = "交流分享")
@TableName("rd_comm_share")
public class RdCommShare extends MySelfEntity {

    @ApiModelProperty("id")
    @TableId(type = IdType.ASSIGN_ID)
    private Long rdCommShareId;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("分享人")
    private String sharePerson;

    @ApiModelProperty("删除标记")
    private Integer delFlag;

    @ApiModelProperty("备注")
    private String remark;

    @TableField(exist = false)
    private Integer approvalStatus;

    @TableField(exist = false)
    private String approvalByName;
    @TableField(exist = false)
    private LocalDateTime approvalTime;
    @TableField(exist = false)
    private String approvalContent;
    @TableField(exist = false)
    private String currentApprovalRole;

}
